package com.sservice.service.service;

import com.sservice.model.entity.OrderOperateLog;

public interface IOrderOperateLogService {

    int deleteByPrimaryKey(Long id);

    int insert(OrderOperateLog record);

    int insertSelective(OrderOperateLog record);

    /***
     *  插入订单操作日志
     * @param userId 操作用户ID
     * @param operate 操作类型 OrderConstants
     * @param orderId 操作订单ID
     * @return
     */
    int insertLog(String userId, String operate, String orderId);

    int insertLog(String userId, String operate, String orderId, String remark);

    OrderOperateLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderOperateLog record);

    int updateByPrimaryKey(OrderOperateLog record);

}
